 package cn.edu.ujn.finalwork.service;

import java.util.List;

import cn.edu.ujn.finalwork.dao.Base;
import cn.edu.ujn.finalwork.dao.User;

public interface IBaseService {
     int insert(Base user);
     
     int updateByPrimaryKey(Base user);
     
     int insertSelective(Base row);
     
     Base selectByPrimaryKey(String id);
     
     Base selectByType_CodeAndType_Name(Base base);
     
     int updateByPrimaryKeySelective(Base row);

     int deleteByPrimaryKey(String id);
     
     List<Base> selectAll();
     
     List<Base> selectByTName(String name);
     
     List<String> type();
     
     List<Base> selectAllNum();
     
     List<String> selectIName(String TCode);
     
     String selectTCode(String IName);
}
